﻿<UserControl x:Class="ParaBellum.gui_part.gui.modules.SearchModules"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:guiPart="clr-namespace:ParaBellum.gui_part"
             xmlns:gui2="clr-namespace:ParaBellum.gui_part.gui"
             mc:Ignorable="d"
             d:DesignHeight="500" d:DesignWidth="800">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="220" />
            <ColumnDefinition />
            <ColumnDefinition Width="117" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="5" />
            <RowDefinition />
            <RowDefinition Height="80" />
            <RowDefinition Height="53" />
        </Grid.RowDefinitions>
        <TextBlock Text="{x:Static guiPart:Localization.section_To_Search_All_Directories}" VerticalAlignment="Center" />
        <TextBlock x:Name="DateText" Text="{x:Static gui2:Controller.DateNowToString}" Grid.Column="2"
                   x:FieldModifier="private" />
        <DataGrid Grid.Row="2" CanUserAddRows="False" CanUserDeleteRows="False" CanUserResizeRows="False"
                  SelectionMode="Single" Grid.ColumnSpan="3">
            <DataGrid.CacheMode>
                <BitmapCache />
            </DataGrid.CacheMode>
            <DataGrid.Columns>
                <DataGridTextColumn Header="{x:Static guiPart:Localization.issued}" Width="*">
                </DataGridTextColumn>
                <DataGridTextColumn Header="{x:Static guiPart:Localization.number}" Width="*">
                </DataGridTextColumn>
                <DataGridTextColumn Header="{x:Static guiPart:Localization.firm}" Width="*">
                </DataGridTextColumn>
                <DataGridTextColumn Header="{x:Static guiPart:Localization.mark}" Width="*">
                </DataGridTextColumn>
                <DataGridTextColumn Header="{x:Static guiPart:Localization.kod_Imei}" Width="*">
                </DataGridTextColumn>
                <DataGridTextColumn Header="{x:Static guiPart:Localization.client}" Width="*">
                </DataGridTextColumn>
                <DataGridTextColumn Header="{x:Static guiPart:Localization.made}" Width="*">
                </DataGridTextColumn>
                <DataGridTextColumn Header="{x:Static guiPart:Localization.price}" Width="*">
                </DataGridTextColumn>
                <DataGridTextColumn Header="{x:Static guiPart:Localization.paid}" Width="*">
                </DataGridTextColumn>
            </DataGrid.Columns>
            <Button />
        </DataGrid>
        <Grid Grid.Row="4" Grid.ColumnSpan="3">
            <Grid.RowDefinitions>
                <RowDefinition Height="15*" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="15*" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="146" />
                <ColumnDefinition Width="10" />
                <ColumnDefinition Width="184" />
                <ColumnDefinition />
                <ColumnDefinition Width="105" />
                <ColumnDefinition Width="20" />
                <ColumnDefinition Width="105" />
                <ColumnDefinition Width="20" />
                <ColumnDefinition Width="105" />
            </Grid.ColumnDefinitions>
            <Button Grid.Column="6" Grid.RowSpan="3">
                <TextBlock Text="{x:Static guiPart:Localization.clean}" TextAlignment="Center" TextWrapping="Wrap" />
            </Button>
            <Button Grid.Column="4" Grid.RowSpan="3">
                <TextBlock Text="{x:Static guiPart:Localization.search}" TextAlignment="Center" TextWrapping="Wrap" />
            </Button>
            <Button Grid.Column="8" Grid.RowSpan="3">
                <TextBlock Text="{x:Static guiPart:Localization.go_To_Record}" TextAlignment="Center"
                           TextWrapping="Wrap" />
            </Button>
            <TextBlock TextWrapping="Wrap" Text="{x:Static guiPart:Localization.search_String}" TextAlignment="Center"
                       Grid.Row="1" VerticalAlignment="Center" />
            <TextBox TextWrapping="Wrap" Grid.Column="2" Grid.Row="1" />
        </Grid>
        <Grid Grid.Row="3" Grid.ColumnSpan="3">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="150" />
                <ColumnDefinition Width="10" />
                <ColumnDefinition Width="140*" />
                <ColumnDefinition Width="10" />
                <ColumnDefinition Width="150" />
                <ColumnDefinition Width="10" />
                <ColumnDefinition Width="104*" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="10" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="10" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="10" />
            </Grid.RowDefinitions>
            <TextBlock Grid.Row="3" TextWrapping="Wrap" Text="{x:Static guiPart:Localization.completed_Works}"
                       TextAlignment="Center" VerticalAlignment="Center" />
            <TextBox Grid.Column="2" Grid.Row="3" TextWrapping="Wrap" />
            <TextBlock Grid.Column="4" Grid.Row="3" TextWrapping="Wrap"
                       Text="{x:Static guiPart:Localization.note_To_Work}" TextAlignment="Center"
                       VerticalAlignment="Center" />
            <TextBox Grid.Row="3" Grid.Column="6" />
            <TextBlock Grid.Row="1" TextWrapping="Wrap" Text="{x:Static guiPart:Localization.problem}"
                       TextAlignment="Center" VerticalAlignment="Center" />
            <TextBlock Grid.Column="4" TextWrapping="Wrap" Text="{x:Static guiPart:Localization.note}"
                       TextAlignment="Center" Grid.Row="1" VerticalAlignment="Center" />
            <TextBox Grid.Row="3" Grid.Column="6" />
            <TextBox Grid.Row="1" Grid.Column="6" />
            <TextBox Grid.Column="2" Grid.Row="1" TextWrapping="Wrap" />
        </Grid>

    </Grid>
</UserControl>